package com.lanou.user;

/**
 * 要求有姓名、教授课程、专业方向、教龄，
 * 
 * @author Lenovo
 *
 */
public class Teacher {
	String name;// 姓名
	String course;// 教授课程
	String profession;// 专业方向
	int teacherAge;// 教龄

	
	@Override
	public String toString() {
		return "Teacher [name=" + name + ", course=" + course + ", profession=" + profession + ", teacherAge="
				+ teacherAge + "]";
	}


	public Teacher(String name, String course, String profession, int teacherAge) {
		this.name = name;
		this.course = course;
		this.profession = profession;
		this.teacherAge = teacherAge;
	}

}
